package net.goutalk.glcs.module.system.dto;

import net.goutalk.glcs.common.page.PageInput;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
 * @Author: tanyujie
 * @Date:2022/3/17 15:54
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DictionaryItemPageDto extends PageInput {

    @ApiModelProperty(value = "数据字典项目名称")
    @Length(max = 20,message = "项目名长度不超过20个字符")
    private String name;

    @ApiModelProperty(value = "数据字典项目编码")
    @Length(max = 10,message = "编码长度不超过10个字符")
    private String code;
}
